package com.irdstudio.efp.flow.service.dao;

import java.util.List;
import java.util.Map;

import com.irdstudio.efp.flow.service.domain.BizEventInfo;
import com.irdstudio.efp.flow.service.vo.BizEventInfoVO;
/**
 * <p>DAO interface:业务流转事件信息				<p>
 * @author ligm
 * @date 2018-05-05
 */
public interface BizEventInfoDao {
	
	public int insertBizEventInfo(BizEventInfo bizEventInfo);
	
	public int deleteByPk(BizEventInfo bizEventInfo);
	
	public int updateByPk(BizEventInfo bizEventInfo);
	
	public BizEventInfo queryByPk(BizEventInfo bizEventInfo);
	
	public List<BizEventInfo> queryAllOwnerByPage(BizEventInfoVO bizEventInfo);
	
	public List<BizEventInfo> queryAllCurrOrgByPage(BizEventInfoVO bizEventInfo);
	
	public List<BizEventInfo> queryAllCurrDownOrgByPage(BizEventInfoVO bizEventInfo);
	
	public int countByFlowIdAndEventId(Map<String, String> paramMap);
	
	public List<BizEventInfo> queryAllByFlowType(BizEventInfo bizEventInfo);

}
